package com.tansun.easycare.rule.datasource.service.impl;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;
import com.tansun.easycare.core.service.impl.CrudServiceImpl;
import com.tansun.easycare.rule.datasource.dao.RuleDatasheetColumnDao;
import com.tansun.easycare.rule.datasource.entity.RuleDatasheetColumn;
import com.tansun.easycare.rule.datasource.service.RuleDatasheetColumnService;

/**
 * 入口参数ServiceImpl
 * @author WYH
 * @version 2018-06-12
 */
@Service("ruleDatasheetColumnService")
@Transactional(readOnly = true)
public class RuleDatasheetColumnServiceImpl extends CrudServiceImpl<RuleDatasheetColumnDao, RuleDatasheetColumn> implements RuleDatasheetColumnService{

	public RuleDatasheetColumn get(String id) {
		return super.get(id);
	}
	
	public List<RuleDatasheetColumn> findList(RuleDatasheetColumn ruleDatasheetColumn) {
		return super.findList(ruleDatasheetColumn);
	}
	
	public PageInfo<RuleDatasheetColumn> findPage(Page<RuleDatasheetColumn> page, RuleDatasheetColumn ruleDatasheetColumn) {
		return super.findPage(page, ruleDatasheetColumn);
	}
	
	@Transactional(readOnly = false)
	public void save(RuleDatasheetColumn ruleDatasheetColumn) {
		super.save(ruleDatasheetColumn);
	}
	
	@Transactional(readOnly = false)
	public void delete(RuleDatasheetColumn ruleDatasheetColumn) {
		super.delete(ruleDatasheetColumn);
	}
	
}